package Code.SwichDemo;

import java.util.Scanner;

//运动计划
public class Test2 {
    public static void main(String[] args) {
        //录入星期
        Scanner scanner =new Scanner(System.in);
        System.out.println("输入星期；");
        String week = scanner.next();

        switch (week){
            case "monday":
                System.out.println("跑步");
                break;
            case "tuesday":
                System.out.println("游泳");
                break;
            case "weddnesday":
                System.out.println("慢走");
                break;
            case "thursday":
                System.out.println("动感单车");
                break;
            case "friday":
                System.out.println("拳击");
                break;
            case "saturday":
                System.out.println("爬山");
                break;
            case "sunday":
                System.out.println("好好吃一顿");
                break;
            default:
                System.out.println("输入错误");
                break;
        }
    }
}
